package com.yx.sql.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.OrderBy;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.core.annotation.Order;

import java.io.Serializable;
import java.util.Date;

/**
 * 连接驱动信息
 * 
 * @author kai.yang
 * @date 2023-03-28 14:19:19
 */
@Data
@TableName("db_drive")
public class DbDrive implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 驱动类
	 */
	private String driveClass;
	/**
	 * 驱动路径
	 */
	private String drivePath;
	/**
	 * 驱动名称
	 */
	private String driveName;
	/**
	 * 驱动版本
	 */
	private String driveVersion;
	/**
	 * 连接类型id db_type
	 */
	private Long dbTypeId;
	/**
	 * 连接类型id db_type
	 */
	private String driveJars;
	/**
	 * 创建人
	 */
	private Long uidCreate;
	/**
	 * 创建时间
	 */
	@OrderBy(sort = 1)
	private Date gmtCreate;
	/**
	 * 修改人
	 */
	private Long uidModified;
	/**
	 * 修改时间
	 */
	private Date gmtModified;


}
